package com.lyz.auth.domain.service;

import cn.dev33.satoken.stp.SaTokenInfo;
import com.lyz.auth.domain.entity.AuthUserBo;

/**
 * 用户领域service
 *
 * @author: YizeLee
 * @date: 2024/4/26
 */
public interface AuthUserDomainService {

    /**
     * 注册
     */
    Boolean register(AuthUserBo authUserBo);

    /**
     * 更新用户信息
     */
    Boolean update(AuthUserBo authUserBo);

    /**
     * 删除用户
     */
    Boolean delete(AuthUserBo authUserBo);

    SaTokenInfo doLogin(String validCode);

    AuthUserBo getUserInfo(AuthUserBo authUserBo);
}
